package com.shijunhao.graduation.service.business;

import com.shijunhao.graduation.domain.dto.BusinessForumThymeDto;
import com.shijunhao.graduation.domain.entity.BusinessForumThyme;
import com.shijunhao.graduation.domain.entity.BusinessForumType;
import com.shijunhao.graduation.domain.vo.BusinessForumThymeVo;
import com.shijunhao.graduation.domain.vo.BusinessForumTypeVo;
import com.shijunhao.graduation.service.system.BaseService;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author shijunhao
 * @since 2022-04-16
 */
public interface IBusinessForumThymeService extends BaseService<BusinessForumThyme> {
    Long insert(BusinessForumThymeDto dto);

    /**
     * @param dto: 实体
     * @return: java.lang.Boolean
     * @author: shijunhao
     * @date: 2022/4/28 22:27
     * @description: 更新实体
     */
    Boolean update(BusinessForumThymeDto dto);
    /**
     * @param entity:
     * @return: com.shijunhao.graduation.domain.vo.BusinessForumTypeVo
     * @author: shijunhao
     * @date: 2022/4/17 3:34
     * @description: 转为Vo对象
     */
    BusinessForumThymeVo toVo(BusinessForumThyme entity);
}
